
import os
from PyQt5.QtCore import *
import threading

"""系统控制接口类"""
class SysControl(QObject):

    #定义关闭程序信号
    closeFormSignal=pyqtSignal()
    def __init__(self):
        return super().__init__()
    #关闭程序接口
    @pyqtSlot()
    def closeForm(self):
        os.system("sudo init 0")




        
   
